package com.baidu.Chapter01;

import java.util.Scanner;

public class ex1_8 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double zc;
        double mj;
        zc = 2 * r * Math.PI;
        mj = r * r * 3.14;
        System.out.println("周长：%3.2f"+zc+"\n面积："+mj);
    }
}
